<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkNotebook</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
<link rel="home" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="LayoutContainers.html" title="Layout Containers">
<link rel="prev" href="GtkLayout.html" title="GtkLayout">
<link rel="next" href="GtkTable.html" title="GtkTable">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="Builder.html" title="Interface builder">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="chapter" href="gtk-migrating-GtkBuilder.html" title="Migrating from libglade to GtkBuilder">
<link rel="chapter" href="gtk-migrating-tooltips.html" title="Migrating from GtkTooltips to GtkTooltip">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="api-index-full.html" title="Index of all symbols">
<link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
<link rel="index" href="api-index-2-2.html" title="Index of new symbols in 2.2">
<link rel="index" href="api-index-2-4.html" title="Index of new symbols in 2.4">
<link rel="index" href="api-index-2-6.html" title="Index of new symbols in 2.6">
<link rel="index" href="api-index-2-8.html" title="Index of new symbols in 2.8">
<link rel="index" href="api-index-2-10.html" title="Index of new symbols in 2.10">
<link rel="index" href="api-index-2-12.html" title="Index of new symbols in 2.12">
<link rel="index" href="api-index-2-14.html" title="Index of new symbols in 2.14">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkLayout.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="LayoutContainers.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkTable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkNotebook.synopsis" class="shortcut">Top</a>
                 | 
                <a href="#GtkNotebook.description" class="shortcut">Description</a>
                 | 
                <a href="#GtkNotebook.object-hierarchy" class="shortcut">Object Hierarchy</a>
                 | 
                <a href="#GtkNotebook.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                 | 
                <a href="#GtkNotebook.properties" class="shortcut">Properties</a>
                 | 
                <a href="#GtkNotebook.child-properties" class="shortcut">Child Properties</a>
                 | 
                <a href="#GtkNotebook.style-properties" class="shortcut">Style Properties</a>
                 | 
                <a href="#GtkNotebook.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkNotebook"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkNotebook.top_of_page"></a>GtkNotebook</span></h2>
<p>GtkNotebook — A tabbed notebook container</p>
</td>
<td valign="top" align="right"><img src="notebook.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkNotebook.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;gtk/gtk.h&gt;

                    <a class="link" href="GtkNotebook.html#GtkNotebook-struct" title="GtkNotebook">GtkNotebook</a>;
                    <a class="link" href="GtkNotebook.html#GtkNotebookPage" title="GtkNotebookPage">GtkNotebookPage</a>;
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *         <a class="link" href="GtkNotebook.html#gtk-notebook-new" title="gtk_notebook_new ()">gtk_notebook_new</a>                    (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-append-page" title="gtk_notebook_append_page ()">gtk_notebook_append_page</a>            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-append-page-menu" title="gtk_notebook_append_page_menu ()">gtk_notebook_append_page_menu</a>       (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *menu_label);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-prepend-page" title="gtk_notebook_prepend_page ()">gtk_notebook_prepend_page</a>           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-prepend-page-menu" title="gtk_notebook_prepend_page_menu ()">gtk_notebook_prepend_page_menu</a>      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *menu_label);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-insert-page" title="gtk_notebook_insert_page ()">gtk_notebook_insert_page</a>            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> position);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-insert-page-menu" title="gtk_notebook_insert_page_menu ()">gtk_notebook_insert_page_menu</a>       (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *menu_label,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> position);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-remove-page" title="gtk_notebook_remove_page ()">gtk_notebook_remove_page</a>            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_num);
#define             <a class="link" href="GtkNotebook.html#gtk-notebook-current-page" title="gtk_notebook_current_page">gtk_notebook_current_page</a>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-page-num" title="gtk_notebook_page_num ()">gtk_notebook_page_num</a>               (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
#define             <a class="link" href="GtkNotebook.html#gtk-notebook-set-page" title="gtk_notebook_set_page">gtk_notebook_set_page</a>
void                <a class="link" href="GtkNotebook.html#gtk-notebook-next-page" title="gtk_notebook_next_page ()">gtk_notebook_next_page</a>              (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-prev-page" title="gtk_notebook_prev_page ()">gtk_notebook_prev_page</a>              (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-reorder-child" title="gtk_notebook_reorder_child ()">gtk_notebook_reorder_child</a>          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> position);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-pos" title="gtk_notebook_set_tab_pos ()">gtk_notebook_set_tab_pos</a>            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="gtk-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType">GtkPositionType</a> pos);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-show-tabs" title="gtk_notebook_set_show_tabs ()">gtk_notebook_set_show_tabs</a>          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_tabs);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-show-border" title="gtk_notebook_set_show_border ()">gtk_notebook_set_show_border</a>        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_border);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-scrollable" title="gtk_notebook_set_scrollable ()">gtk_notebook_set_scrollable</a>         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> scrollable);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-border" title="gtk_notebook_set_tab_border ()">gtk_notebook_set_tab_border</a>         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> border_width);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-popup-enable" title="gtk_notebook_popup_enable ()">gtk_notebook_popup_enable</a>           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-popup-disable" title="gtk_notebook_popup_disable ()">gtk_notebook_popup_disable</a>          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-get-current-page" title="gtk_notebook_get_current_page ()">gtk_notebook_get_current_page</a>       (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *         <a class="link" href="GtkNotebook.html#gtk-notebook-get-menu-label" title="gtk_notebook_get_menu_label ()">gtk_notebook_get_menu_label</a>         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          <a class="link" href="GtkNotebook.html#gtk-notebook-get-nth-page" title="gtk_notebook_get_nth_page ()">gtk_notebook_get_nth_page</a>           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_num);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-get-n-pages" title="gtk_notebook_get_n_pages ()">gtk_notebook_get_n_pages</a>            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *         <a class="link" href="GtkNotebook.html#gtk-notebook-get-tab-label" title="gtk_notebook_get_tab_label ()">gtk_notebook_get_tab_label</a>          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-query-tab-label-packing" title="gtk_notebook_query_tab_label_packing ()">gtk_notebook_query_tab_label_packing</a>
                                                        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> *expand,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> *fill,
                                                         <a class="link" href="gtk-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType">GtkPackType</a> *pack_type);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-homogeneous-tabs" title="gtk_notebook_set_homogeneous_tabs ()">gtk_notebook_set_homogeneous_tabs</a>   (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> homogeneous);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-menu-label" title="gtk_notebook_set_menu_label ()">gtk_notebook_set_menu_label</a>         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *menu_label);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-menu-label-text" title="gtk_notebook_set_menu_label_text ()">gtk_notebook_set_menu_label_text</a>    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *menu_text);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-hborder" title="gtk_notebook_set_tab_hborder ()">gtk_notebook_set_tab_hborder</a>        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> tab_hborder);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-label" title="gtk_notebook_set_tab_label ()">gtk_notebook_set_tab_label</a>          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-label-packing" title="gtk_notebook_set_tab_label_packing ()">gtk_notebook_set_tab_label_packing</a>  (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill,
                                                         <a class="link" href="gtk-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType">GtkPackType</a> pack_type);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-label-text" title="gtk_notebook_set_tab_label_text ()">gtk_notebook_set_tab_label_text</a>     (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *tab_text);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-vborder" title="gtk_notebook_set_tab_vborder ()">gtk_notebook_set_tab_vborder</a>        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> tab_vborder);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-reorderable" title="gtk_notebook_set_tab_reorderable ()">gtk_notebook_set_tab_reorderable</a>    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> reorderable);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-detachable" title="gtk_notebook_set_tab_detachable ()">gtk_notebook_set_tab_detachable</a>     (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> detachable);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *       <a class="link" href="GtkNotebook.html#gtk-notebook-get-menu-label-text" title="gtk_notebook_get_menu_label_text ()">gtk_notebook_get_menu_label_text</a>    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkNotebook.html#gtk-notebook-get-scrollable" title="gtk_notebook_get_scrollable ()">gtk_notebook_get_scrollable</a>         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkNotebook.html#gtk-notebook-get-show-border" title="gtk_notebook_get_show_border ()">gtk_notebook_get_show_border</a>        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkNotebook.html#gtk-notebook-get-show-tabs" title="gtk_notebook_get_show_tabs ()">gtk_notebook_get_show_tabs</a>          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *       <a class="link" href="GtkNotebook.html#gtk-notebook-get-tab-label-text" title="gtk_notebook_get_tab_label_text ()">gtk_notebook_get_tab_label_text</a>     (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
<a class="link" href="gtk-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType">GtkPositionType</a>     <a class="link" href="GtkNotebook.html#gtk-notebook-get-tab-pos" title="gtk_notebook_get_tab_pos ()">gtk_notebook_get_tab_pos</a>            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkNotebook.html#gtk-notebook-get-tab-reorderable" title="gtk_notebook_get_tab_reorderable ()">gtk_notebook_get_tab_reorderable</a>    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkNotebook.html#gtk-notebook-get-tab-detachable" title="gtk_notebook_get_tab_detachable ()">gtk_notebook_get_tab_detachable</a>     (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-current-page" title="gtk_notebook_set_current_page ()">gtk_notebook_set_current_page</a>       (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_num);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-group-id" title="gtk_notebook_set_group_id ()">gtk_notebook_set_group_id</a>           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> group_id);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="GtkNotebook.html#gtk-notebook-get-group-id" title="gtk_notebook_get_group_id ()">gtk_notebook_get_group_id</a>           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-group" title="gtk_notebook_set_group ()">gtk_notebook_set_group</a>              (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> group);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>            <a class="link" href="GtkNotebook.html#gtk-notebook-get-group" title="gtk_notebook_get_group ()">gtk_notebook_get_group</a>              (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);
<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *       (<a class="link" href="GtkNotebook.html#GtkNotebookWindowCreationFunc" title="GtkNotebookWindowCreationFunc ()">*GtkNotebookWindowCreationFunc</a>)    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *source,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *page,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void                <a class="link" href="GtkNotebook.html#gtk-notebook-set-window-creation-hook" title="gtk_notebook_set_window_creation_hook ()">gtk_notebook_set_window_creation_hook</a>
                                                        (<a class="link" href="GtkNotebook.html#GtkNotebookWindowCreationFunc" title="GtkNotebookWindowCreationFunc ()">GtkNotebookWindowCreationFunc</a> func,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
                           +----GtkNotebook
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkNotebook implements
 AtkImplementorIface and  <a class="link" href="gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkNotebook.html#GtkNotebook--enable-popup" title='The "enable-popup" property'>enable-popup</a>"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--group" title='The "group" property'>group</a>"                    <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--group-id" title='The "group-id" property'>group-id</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--homogeneous" title='The "homogeneous" property'>homogeneous</a>"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--page" title='The "page" property'>page</a>"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--scrollable" title='The "scrollable" property'>scrollable</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--show-border" title='The "show-border" property'>show-border</a>"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--show-tabs" title='The "show-tabs" property'>show-tabs</a>"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--tab-border" title='The "tab-border" property'>tab-border</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--tab-hborder" title='The "tab-hborder" property'>tab-hborder</a>"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--tab-pos" title='The "tab-pos" property'>tab-pos</a>"                  <a class="link" href="gtk-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType">GtkPositionType</a>       : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--tab-vborder" title='The "tab-vborder" property'>tab-vborder</a>"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.child-properties"></a><h2>Child Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkNotebook.html#GtkNotebook--c-detachable" title='The "detachable" child property'>detachable</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--c-menu-label" title='The "menu-label" child property'>menu-label</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--c-position" title='The "position" child property'>position</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--c-reorderable" title='The "reorderable" child property'>reorderable</a>"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--c-tab-expand" title='The "tab-expand" child property'>tab-expand</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--c-tab-fill" title='The "tab-fill" child property'>tab-fill</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--c-tab-label" title='The "tab-label" child property'>tab-label</a>"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a class="link" href="GtkNotebook.html#GtkNotebook--c-tab-pack" title='The "tab-pack" child property'>tab-pack</a>"                 <a class="link" href="gtk-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType">GtkPackType</a>           : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.style-properties"></a><h2>Style Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkNotebook.html#GtkNotebook--s-arrow-spacing" title='The "arrow-spacing" style property'>arrow-spacing</a>"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkNotebook.html#GtkNotebook--s-has-backward-stepper" title='The "has-backward-stepper" style property'>has-backward-stepper</a>"     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a class="link" href="GtkNotebook.html#GtkNotebook--s-has-forward-stepper" title='The "has-forward-stepper" style property'>has-forward-stepper</a>"      <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a class="link" href="GtkNotebook.html#GtkNotebook--s-has-secondary-backward-stepper" title='The "has-secondary-backward-stepper" style property'>has-secondary-backward-stepper</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a class="link" href="GtkNotebook.html#GtkNotebook--s-has-secondary-forward-stepper" title='The "has-secondary-forward-stepper" style property'>has-secondary-forward-stepper</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a class="link" href="GtkNotebook.html#GtkNotebook--s-tab-curvature" title='The "tab-curvature" style property'>tab-curvature</a>"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkNotebook.html#GtkNotebook--s-tab-overlap" title='The "tab-overlap" style property'>tab-overlap</a>"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GtkNotebook.html#GtkNotebook-change-current-page" title='The "change-current-page" signal'>change-current-page</a>"                            : Run Last / Action
  "<a class="link" href="GtkNotebook.html#GtkNotebook-create-window" title='The "create-window" signal'>create-window</a>"                                  : Run Last
  "<a class="link" href="GtkNotebook.html#GtkNotebook-focus-tab" title='The "focus-tab" signal'>focus-tab</a>"                                      : Run Last / Action
  "<a class="link" href="GtkNotebook.html#GtkNotebook-move-focus-out" title='The "move-focus-out" signal'>move-focus-out</a>"                                 : Run Last / Action
  "<a class="link" href="GtkNotebook.html#GtkNotebook-page-added" title='The "page-added" signal'>page-added</a>"                                     : Run Last
  "<a class="link" href="GtkNotebook.html#GtkNotebook-page-removed" title='The "page-removed" signal'>page-removed</a>"                                   : Run Last
  "<a class="link" href="GtkNotebook.html#GtkNotebook-page-reordered" title='The "page-reordered" signal'>page-reordered</a>"                                 : Run Last
  "<a class="link" href="GtkNotebook.html#GtkNotebook-reorder-tab" title='The "reorder-tab" signal'>reorder-tab</a>"                                    : Run Last / Action
  "<a class="link" href="GtkNotebook.html#GtkNotebook-select-page" title='The "select-page" signal'>select-page</a>"                                    : Run Last / Action
  "<a class="link" href="GtkNotebook.html#GtkNotebook-switch-page" title='The "switch-page" signal'>switch-page</a>"                                    : Run Last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.description"></a><h2>Description</h2>
<p>
The <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> widget is a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> whose children are pages that
can be switched between using tab labels along one edge.
</p>
<p>
There are many configuration options for <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>. Among other
things, you can choose on which edge the tabs appear
(see <a class="link" href="GtkNotebook.html#gtk-notebook-set-tab-pos" title="gtk_notebook_set_tab_pos ()"><code class="function">gtk_notebook_set_tab_pos()</code></a>), whether, if there are too many
tabs to fit the notebook should be made bigger or scrolling
arrows added (see gtk_notebook_set_scrollable), and whether there
will be a popup menu allowing the users to switch pages.
(see <a class="link" href="GtkNotebook.html#gtk-notebook-popup-enable" title="gtk_notebook_popup_enable ()"><code class="function">gtk_notebook_popup_enable()</code></a>, <a class="link" href="GtkNotebook.html#gtk-notebook-popup-disable" title="gtk_notebook_popup_disable ()"><code class="function">gtk_notebook_popup_disable()</code></a>)
</p>
<div class="refsect2" lang="en">
<a name="GtkNotebook-BUILDER-UI"></a><h3>GtkNotebook as GtkBuildable</h3>
<p>
The GtkNoteboopk implementation of the GtkBuildable interface
supports placing children into tabs by specifying "tab" as the
"type" attribute of a &lt;child&gt; element. Note that the content
of the tab must be created before the tab can be filled.
A tab child can be specified without specifying a &lt;child&gt;
type attribute.
</p>
<div class="example">
<a name="id3639210"></a><p class="title"><b>Example 38. A UI definition fragment with GtkNotebook</b></p>
<div class="example-contents"><pre class="programlisting">
&lt;object class="GtkNotebook"&gt;
  &lt;child&gt;
    &lt;object class="GtkLabel" id="notebook-content"&gt;
      &lt;property name="label"&gt;Content&lt;/property&gt;
    &lt;/object&gt;
  &lt;/child&gt;
  &lt;child type="tab"&gt;
    &lt;object class="GtkLabel" id="notebook-tab"&gt;
      &lt;property name="label"&gt;Tab&lt;/property&gt;
    &lt;/object&gt;
  &lt;/child&gt;
&lt;/object&gt;
</pre></div>
</div>
<br class="example-break">
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="GtkNotebook-struct"></a><h3>GtkNotebook</h3>
<pre class="programlisting">typedef struct _GtkNotebook GtkNotebook;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebookPage"></a><h3>GtkNotebookPage</h3>
<pre class="programlisting">typedef struct _GtkNotebookPage GtkNotebookPage;</pre>
<p>
The <a class="link" href="GtkNotebook.html#GtkNotebookPage" title="GtkNotebookPage"><span class="type">GtkNotebookPage</span></a> is an opaque implementation detail of <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-new"></a><h3>gtk_notebook_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *         gtk_notebook_new                    (void);</pre>
<p>
Creates a new <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> widget with no pages.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the newly created <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-append-page"></a><h3>gtk_notebook_append_page ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_append_page            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label);</pre>
<p>
Appends a page to <em class="parameter"><code>notebook</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to use as the contents of the page.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
            or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> to use the default label, 'page N'.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the index (starting from 0) of the appended
page in the notebook, or -1 if function fails
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-append-page-menu"></a><h3>gtk_notebook_append_page_menu ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_append_page_menu       (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *menu_label);</pre>
<p>
Appends a page to <em class="parameter"><code>notebook</code></em>, specifying the widget to use as the
label in the popup menu.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to use as the contents of the page.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
            or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> to use the default label, 'page N'.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_label</code></em> :</span></p></td>
<td> the widget to use as a label for the page-switch
             menu, if that is enabled. If <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>, and <em class="parameter"><code>tab_label</code></em>
             is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>, then the menu label will be
             a newly created label with the same text as <em class="parameter"><code>tab_label</code></em>;
             If <em class="parameter"><code>tab_label</code></em> is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>, <em class="parameter"><code>menu_label</code></em> must be
             specified if the page-switch menu is to be used.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the index (starting from 0) of the appended
page in the notebook, or -1 if function fails
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-prepend-page"></a><h3>gtk_notebook_prepend_page ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_prepend_page           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label);</pre>
<p>
Prepends a page to <em class="parameter"><code>notebook</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to use as the contents of the page.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
            or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> to use the default label, 'page N'.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the index (starting from 0) of the prepended
page in the notebook, or -1 if function fails
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-prepend-page-menu"></a><h3>gtk_notebook_prepend_page_menu ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_prepend_page_menu      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *menu_label);</pre>
<p>
Prepends a page to <em class="parameter"><code>notebook</code></em>, specifying the widget to use as the
label in the popup menu.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to use as the contents of the page.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
            or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> to use the default label, 'page N'.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_label</code></em> :</span></p></td>
<td> the widget to use as a label for the page-switch
             menu, if that is enabled. If <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>, and <em class="parameter"><code>tab_label</code></em>
             is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>, then the menu label will be
             a newly created label with the same text as <em class="parameter"><code>tab_label</code></em>;
             If <em class="parameter"><code>tab_label</code></em> is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>, <em class="parameter"><code>menu_label</code></em> must be
             specified if the page-switch menu is to be used.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the index (starting from 0) of the prepended
page in the notebook, or -1 if function fails
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-insert-page"></a><h3>gtk_notebook_insert_page ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_insert_page            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> position);</pre>
<p>
Insert a page into <em class="parameter"><code>notebook</code></em> at the given position.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to use as the contents of the page.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
            or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> to use the default label, 'page N'.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td> the index (starting at 0) at which to insert the page,
           or -1 to append the page after all other pages.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the index (starting from 0) of the inserted
page in the notebook, or -1 if function fails
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-insert-page-menu"></a><h3>gtk_notebook_insert_page_menu ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_insert_page_menu       (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *menu_label,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> position);</pre>
<p>
Insert a page into <em class="parameter"><code>notebook</code></em> at the given position, specifying
the widget to use as the label in the popup menu.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to use as the contents of the page.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
            or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> to use the default label, 'page N'.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_label</code></em> :</span></p></td>
<td> the widget to use as a label for the page-switch
             menu, if that is enabled. If <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>, and <em class="parameter"><code>tab_label</code></em>
             is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>, then the menu label will be
             a newly created label with the same text as <em class="parameter"><code>tab_label</code></em>;
             If <em class="parameter"><code>tab_label</code></em> is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>, <em class="parameter"><code>menu_label</code></em> must be
             specified if the page-switch menu is to be used.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td> the index (starting at 0) at which to insert the page,
           or -1 to append the page after all other pages.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the index (starting from 0) of the inserted
page in the notebook
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-remove-page"></a><h3>gtk_notebook_remove_page ()</h3>
<pre class="programlisting">void                gtk_notebook_remove_page            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_num);</pre>
<p>
Removes a page from the notebook given its index
in the notebook.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page_num</code></em> :</span></p></td>
<td> the index of a notebook page, starting
           from 0. If -1, the last page will
           be removed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-current-page"></a><h3>gtk_notebook_current_page</h3>
<pre class="programlisting">#define	gtk_notebook_current_page               gtk_notebook_get_current_page
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_notebook_current_page</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Deprecated compatibility macro. Use
<a class="link" href="GtkNotebook.html#gtk-notebook-get-current-page" title="gtk_notebook_get_current_page ()"><code class="function">gtk_notebook_get_current_page()</code></a> instead.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-page-num"></a><h3>gtk_notebook_page_num ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_page_num               (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<p>
Finds the index of the page which contains the given child
widget.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the index of the page containing <em class="parameter"><code>child</code></em>, or
  -1 if <em class="parameter"><code>child</code></em> is not in the notebook.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-page"></a><h3>gtk_notebook_set_page</h3>
<pre class="programlisting">#define gtk_notebook_set_page                   gtk_notebook_set_current_page
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_notebook_set_page</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Deprecated compatibility macro. Use
<a class="link" href="GtkNotebook.html#gtk-notebook-set-current-page" title="gtk_notebook_set_current_page ()"><code class="function">gtk_notebook_set_current_page()</code></a> instead.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-next-page"></a><h3>gtk_notebook_next_page ()</h3>
<pre class="programlisting">void                gtk_notebook_next_page              (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Switches to the next page. Nothing happens if the current page is
the last page.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-prev-page"></a><h3>gtk_notebook_prev_page ()</h3>
<pre class="programlisting">void                gtk_notebook_prev_page              (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Switches to the previous page. Nothing happens if the current page
is the first page.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-reorder-child"></a><h3>gtk_notebook_reorder_child ()</h3>
<pre class="programlisting">void                gtk_notebook_reorder_child          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> position);</pre>
<p>
Reorders the page containing <em class="parameter"><code>child</code></em>, so that it appears in position
<em class="parameter"><code>position</code></em>. If <em class="parameter"><code>position</code></em> is greater than or equal to the number of
children in the list or negative, <em class="parameter"><code>child</code></em> will be moved to the end
of the list.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the child to move
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td> the new position, or -1 to move to the end
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-tab-pos"></a><h3>gtk_notebook_set_tab_pos ()</h3>
<pre class="programlisting">void                gtk_notebook_set_tab_pos            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="gtk-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType">GtkPositionType</a> pos);</pre>
<p>
Sets the edge at which the tabs for switching pages in the
notebook are drawn.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td> the edge to draw the tabs at.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-show-tabs"></a><h3>gtk_notebook_set_show_tabs ()</h3>
<pre class="programlisting">void                gtk_notebook_set_show_tabs          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_tabs);</pre>
<p>
Sets whether to show the tabs for the notebook or not.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_tabs</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the tabs should be shown.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-show-border"></a><h3>gtk_notebook_set_show_border ()</h3>
<pre class="programlisting">void                gtk_notebook_set_show_border        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_border);</pre>
<p>
Sets whether a bevel will be drawn around the notebook pages.
This only has a visual effect when the tabs are not shown.
See <a class="link" href="GtkNotebook.html#gtk-notebook-set-show-tabs" title="gtk_notebook_set_show_tabs ()"><code class="function">gtk_notebook_set_show_tabs()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_border</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if a bevel should be drawn around the notebook.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-scrollable"></a><h3>gtk_notebook_set_scrollable ()</h3>
<pre class="programlisting">void                gtk_notebook_set_scrollable         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> scrollable);</pre>
<p>
Sets whether the tab label area will have arrows for scrolling if
there are too many tabs to fit in the area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>scrollable</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if scroll arrows should be added
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-tab-border"></a><h3>gtk_notebook_set_tab_border ()</h3>
<pre class="programlisting">void                gtk_notebook_set_tab_border         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> border_width);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_notebook_set_tab_border</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the width the border around the tab labels
in a notebook. This is equivalent to calling
gtk_notebook_set_tab_hborder (<em class="parameter"><code>notebook</code></em>, <em class="parameter"><code>border_width</code></em>) followed
by gtk_notebook_set_tab_vborder (<em class="parameter"><code>notebook</code></em>, <em class="parameter"><code>border_width</code></em>).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>border_width</code></em> :</span></p></td>
<td> width of the border around the tab labels.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-popup-enable"></a><h3>gtk_notebook_popup_enable ()</h3>
<pre class="programlisting">void                gtk_notebook_popup_enable           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Enables the popup menu: if the user clicks with the right mouse button on
the bookmarks, a menu with all the pages will be popped up.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-popup-disable"></a><h3>gtk_notebook_popup_disable ()</h3>
<pre class="programlisting">void                gtk_notebook_popup_disable          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Disables the popup menu.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-current-page"></a><h3>gtk_notebook_get_current_page ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_get_current_page       (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Returns the page number of the current page.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the index (starting from 0) of the current
page in the notebook. If the notebook has no pages, then
-1 will be returned.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-menu-label"></a><h3>gtk_notebook_get_menu_label ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *         gtk_notebook_get_menu_label         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<p>
Retrieves the menu label widget of the page containing <em class="parameter"><code>child</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a widget contained in a page of <em class="parameter"><code>notebook</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the menu label, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if the
              notebook page does not have a menu label other
              than the default (the tab label).
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-nth-page"></a><h3>gtk_notebook_get_nth_page ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          gtk_notebook_get_nth_page           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_num);</pre>
<p>
Returns the child widget contained in page number <em class="parameter"><code>page_num</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page_num</code></em> :</span></p></td>
<td> the index of a page in the notebook, or -1
           to get the last page.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the child widget, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if <em class="parameter"><code>page_num</code></em> is
out of bounds.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-n-pages"></a><h3>gtk_notebook_get_n_pages ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_get_n_pages            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Gets the number of pages in a notebook.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the number of pages in the notebook.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-tab-label"></a><h3>gtk_notebook_get_tab_label ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *         gtk_notebook_get_tab_label          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<p>
Returns the tab label widget for the page <em class="parameter"><code>child</code></em>. <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> is returned
if <em class="parameter"><code>child</code></em> is not in <em class="parameter"><code>notebook</code></em> or if no tab label has specifically
been set for <em class="parameter"><code>child</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the page
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the tab label
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-query-tab-label-packing"></a><h3>gtk_notebook_query_tab_label_packing ()</h3>
<pre class="programlisting">void                gtk_notebook_query_tab_label_packing
                                                        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> *expand,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> *fill,
                                                         <a class="link" href="gtk-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType">GtkPackType</a> *pack_type);</pre>
<p>
Query the packing attributes for the tab label of the page
containing <em class="parameter"><code>child</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the page
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>expand</code></em> :</span></p></td>
<td> location to store the expand value (or NULL)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fill</code></em> :</span></p></td>
<td> location to store the fill value (or NULL)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pack_type</code></em> :</span></p></td>
<td> location to store the pack_type (or NULL)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-homogeneous-tabs"></a><h3>gtk_notebook_set_homogeneous_tabs ()</h3>
<pre class="programlisting">void                gtk_notebook_set_homogeneous_tabs   (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> homogeneous);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_notebook_set_homogeneous_tabs</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets whether the tabs must have all the same size or not.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>homogeneous</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if all tabs should be the same size.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-menu-label"></a><h3>gtk_notebook_set_menu_label ()</h3>
<pre class="programlisting">void                gtk_notebook_set_menu_label         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *menu_label);</pre>
<p>
Changes the menu label for the page containing <em class="parameter"><code>child</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the child widget
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_label</code></em> :</span></p></td>
<td> the menu label, or NULL for default
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-menu-label-text"></a><h3>gtk_notebook_set_menu_label_text ()</h3>
<pre class="programlisting">void                gtk_notebook_set_menu_label_text    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *menu_text);</pre>
<p>
Creates a new label and sets it as the menu label of <em class="parameter"><code>child</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the child widget
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_text</code></em> :</span></p></td>
<td> the label text
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-tab-hborder"></a><h3>gtk_notebook_set_tab_hborder ()</h3>
<pre class="programlisting">void                gtk_notebook_set_tab_hborder        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> tab_hborder);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_notebook_set_tab_hborder</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the width of the horizontal border of tab labels.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_hborder</code></em> :</span></p></td>
<td> width of the horizontal border of tab labels.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-tab-label"></a><h3>gtk_notebook_set_tab_label ()</h3>
<pre class="programlisting">void                gtk_notebook_set_tab_label          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *tab_label);</pre>
<p>
Changes the tab label for <em class="parameter"><code>child</code></em>. If <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> is specified
for <em class="parameter"><code>tab_label</code></em>, then the page will have the label 'page N'.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the page
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
<td> the tab label widget to use, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> for default tab
            label.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-tab-label-packing"></a><h3>gtk_notebook_set_tab_label_packing ()</h3>
<pre class="programlisting">void                gtk_notebook_set_tab_label_packing  (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> expand,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill,
                                                         <a class="link" href="gtk-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType">GtkPackType</a> pack_type);</pre>
<p>
Sets the packing parameters for the tab label of the page
containing <em class="parameter"><code>child</code></em>. See <a class="link" href="GtkBox.html#gtk-box-pack-start" title="gtk_box_pack_start ()"><code class="function">gtk_box_pack_start()</code></a> for the exact meaning
of the parameters.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the child widget
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>expand</code></em> :</span></p></td>
<td> whether to expand the bookmark or not
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fill</code></em> :</span></p></td>
<td> whether the bookmark should fill the allocated area or not
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pack_type</code></em> :</span></p></td>
<td> the position of the bookmark
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-tab-label-text"></a><h3>gtk_notebook_set_tab_label_text ()</h3>
<pre class="programlisting">void                gtk_notebook_set_tab_label_text     (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *tab_text);</pre>
<p>
Creates a new label and sets it as the tab label for the page
containing <em class="parameter"><code>child</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the page
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_text</code></em> :</span></p></td>
<td> the label text
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-tab-vborder"></a><h3>gtk_notebook_set_tab_vborder ()</h3>
<pre class="programlisting">void                gtk_notebook_set_tab_vborder        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> tab_vborder);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_notebook_set_tab_vborder</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the width of the vertical border of tab labels.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tab_vborder</code></em> :</span></p></td>
<td> width of the vertical border of tab labels.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-tab-reorderable"></a><h3>gtk_notebook_set_tab_reorderable ()</h3>
<pre class="programlisting">void                gtk_notebook_set_tab_reorderable    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> reorderable);</pre>
<p>
Sets whether the notebook tab can be reordered
via drag and drop or not.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a child <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>reorderable</code></em> :</span></p></td>
<td> whether the tab is reorderable or not.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-tab-detachable"></a><h3>gtk_notebook_set_tab_detachable ()</h3>
<pre class="programlisting">void                gtk_notebook_set_tab_detachable     (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> detachable);</pre>
<p>
Sets whether the tab can be detached from <em class="parameter"><code>notebook</code></em> to another
notebook or widget.
</p>
<p>
Note that 2 notebooks must share a common group identificator
(see <a class="link" href="GtkNotebook.html#gtk-notebook-set-group-id" title="gtk_notebook_set_group_id ()"><code class="function">gtk_notebook_set_group_id()</code></a>) to allow automatic tabs
interchange between them.
</p>
<p>
If you want a widget to interact with a notebook through DnD
(i.e.: accept dragged tabs from it) it must be set as a drop
destination and accept the target "GTK_NOTEBOOK_TAB". The notebook
will fill the selection with a GtkWidget** pointing to the child
widget that corresponds to the dropped tab.
</p>
<div class="informalexample"><pre class="programlisting">
 static void
 on_drop_zone_drag_data_received (GtkWidget        *widget,
                                  GdkDragContext   *context,
                                  gint              x,
                                  gint              y,
                                  GtkSelectionData *selection_data,
                                  guint             info,
                                  guint             time,
                                  gpointer          user_data)
 {
   GtkWidget *notebook;
   GtkWidget **child;
   
   notebook = gtk_drag_get_source_widget (context);
   child = (void*) selection_data-&gt;data;
   
   process_widget (*child);
   gtk_container_remove (GTK_CONTAINER (notebook), *child);
 }
</pre></div>
<p>
</p>
<p>
If you want a notebook to accept drags from other widgets,
you will have to set your own DnD code to do it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a child <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>detachable</code></em> :</span></p></td>
<td> whether the tab is detachable or not
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-menu-label-text"></a><h3>gtk_notebook_get_menu_label_text ()</h3>
<pre class="programlisting">const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *       gtk_notebook_get_menu_label_text    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<p>
Retrieves the text of the menu label for the page containing
   <em class="parameter"><code>child</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the child widget of a page of the notebook.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the text of the tab label, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if the
              widget does not have a menu label other than
              the default menu label, or the menu label widget
              is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>. The string is owned by
              the widget and must not be freed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-scrollable"></a><h3>gtk_notebook_get_scrollable ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_notebook_get_scrollable         (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Returns whether the tab label area has arrows for scrolling. See
<a class="link" href="GtkNotebook.html#gtk-notebook-set-scrollable" title="gtk_notebook_set_scrollable ()"><code class="function">gtk_notebook_set_scrollable()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if arrows for scrolling are present
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-show-border"></a><h3>gtk_notebook_get_show_border ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_notebook_get_show_border        (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Returns whether a bevel will be drawn around the notebook pages. See
<a class="link" href="GtkNotebook.html#gtk-notebook-set-show-border" title="gtk_notebook_set_show_border ()"><code class="function">gtk_notebook_set_show_border()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the bevel is drawn
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-show-tabs"></a><h3>gtk_notebook_get_show_tabs ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_notebook_get_show_tabs          (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Returns whether the tabs of the notebook are shown. See
<a class="link" href="GtkNotebook.html#gtk-notebook-set-show-tabs" title="gtk_notebook_set_show_tabs ()"><code class="function">gtk_notebook_set_show_tabs()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the tabs are shown
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-tab-label-text"></a><h3>gtk_notebook_get_tab_label_text ()</h3>
<pre class="programlisting">const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *       gtk_notebook_get_tab_label_text     (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<p>
Retrieves the text of the tab label for the page containing
   <em class="parameter"><code>child</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a widget contained in a page of <em class="parameter"><code>notebook</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the text of the tab label, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if the
              tab label widget is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>. The
              string is owned by the widget and must not
              be freed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-tab-pos"></a><h3>gtk_notebook_get_tab_pos ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType">GtkPositionType</a>     gtk_notebook_get_tab_pos            (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Gets the edge at which the tabs for switching pages in the
notebook are drawn.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the edge at which the tabs are drawn
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-tab-reorderable"></a><h3>gtk_notebook_get_tab_reorderable ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_notebook_get_tab_reorderable    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<p>
Gets whether the tab can be reordered via drag and drop or not.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a child <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the tab is reorderable.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-tab-detachable"></a><h3>gtk_notebook_get_tab_detachable ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_notebook_get_tab_detachable     (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<p>
Returns whether the tab contents can be detached from <em class="parameter"><code>notebook</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a child <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the tab is detachable.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-current-page"></a><h3>gtk_notebook_set_current_page ()</h3>
<pre class="programlisting">void                gtk_notebook_set_current_page       (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_num);</pre>
<p>
Switches to the page number <em class="parameter"><code>page_num</code></em>. 
</p>
<p>
Note that due to historical reasons, GtkNotebook refuses
to switch to a page unless the child widget is visible. 
Therefore, it is recommended to show child widgets before
adding them to a notebook.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page_num</code></em> :</span></p></td>
<td> index of the page to switch to, starting from 0.
           If negative, the last page will be used. If greater
           than the number of pages in the notebook, nothing
           will be done.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-group-id"></a><h3>gtk_notebook_set_group_id ()</h3>
<pre class="programlisting">void                gtk_notebook_set_group_id           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> group_id);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_notebook_set_group_id</code> has been deprecated since version 2.12 and should not be used in newly-written code. use <a class="link" href="GtkNotebook.html#gtk-notebook-set-group" title="gtk_notebook_set_group ()"><code class="function">gtk_notebook_set_group()</code></a> instead.</p>
</div>
<p>
Sets an group identificator for <em class="parameter"><code>notebook</code></em>, notebooks sharing
the same group identificator will be able to exchange tabs
via drag and drop. A notebook with group identificator -1 will
not be able to exchange tabs with any other notebook.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>group_id</code></em> :</span></p></td>
<td> a group identificator, or -1 to unset it
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-group-id"></a><h3>gtk_notebook_get_group_id ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                gtk_notebook_get_group_id           (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_notebook_get_group_id</code> has been deprecated since version 2.12 and should not be used in newly-written code. use <a class="link" href="GtkNotebook.html#gtk-notebook-get-group" title="gtk_notebook_get_group ()"><code class="function">gtk_notebook_get_group()</code></a> instead.</p>
</div>
<p>
Gets the current group identificator for <em class="parameter"><code>notebook</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the group identificator, or -1 if none is set.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-group"></a><h3>gtk_notebook_set_group ()</h3>
<pre class="programlisting">void                gtk_notebook_set_group              (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> group);</pre>
<p>
Sets a group identificator pointer for <em class="parameter"><code>notebook</code></em>, notebooks sharing
the same group identificator pointer will be able to exchange tabs
via drag and drop. A notebook with a <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> group identificator will
not be able to exchange tabs with any other notebook.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td> a pointer to identify the notebook group, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> to unset it
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-get-group"></a><h3>gtk_notebook_get_group ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>            gtk_notebook_get_group              (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook);</pre>
<p>
Gets the current group identificator pointer for <em class="parameter"><code>notebook</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the group identificator, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if none is set.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebookWindowCreationFunc"></a><h3>GtkNotebookWindowCreationFunc ()</h3>
<pre class="programlisting"><a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *       (*GtkNotebookWindowCreationFunc)    (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *source,
                                                         <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *page,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
A function used by GtkNotebook when a detachable tab is dropped
in the root window, it's used to create a window containing a notebook
where the tab will be attached. This function will also be responsible
of moving/resizing the window and adding the necessary properties to
the notebook (i.e.: group-id).
If the function returns <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>, the drag will be cancelled.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>The source <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> of the drag operation
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
<td>the child <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> affected
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>the X coordinate where the drop happens
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>the Y coordinate where the drop happens
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>user data
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The created <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> where the tab will be attached, or NULL to cancel the drag
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-notebook-set-window-creation-hook"></a><h3>gtk_notebook_set_window_creation_hook ()</h3>
<pre class="programlisting">void                gtk_notebook_set_window_creation_hook
                                                        (<a class="link" href="GtkNotebook.html#GtkNotebookWindowCreationFunc" title="GtkNotebookWindowCreationFunc ()">GtkNotebookWindowCreationFunc</a> func,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);</pre>
<p>
Installs a global function used to create a window
when a detached tab is dropped in an empty area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td> the <a class="link" href="GtkNotebook.html#GtkNotebookWindowCreationFunc" title="GtkNotebookWindowCreationFunc ()"><span class="type">GtkNotebookWindowCreationFunc</span></a>, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td> user data for <em class="parameter"><code>func</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
<td> Destroy notifier for <em class="parameter"><code>data</code></em>, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GtkNotebook--enable-popup"></a><h3>The <code class="literal">"enable-popup"</code> property</h3>
<pre class="programlisting">  "enable-popup"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--group"></a><h3>The <code class="literal">"group"</code> property</h3>
<pre class="programlisting">  "group"                    <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>              : Read / Write</pre>
<p>
Group for tabs drag and drop.</p>
<p>
</p>
<p>Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--group-id"></a><h3>The <code class="literal">"group-id"</code> property</h3>
<pre class="programlisting">  "group-id"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>Group ID for tabs drag and drop.</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--homogeneous"></a><h3>The <code class="literal">"homogeneous"</code> property</h3>
<pre class="programlisting">  "homogeneous"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether tabs should have homogeneous sizes.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--page"></a><h3>The <code class="literal">"page"</code> property</h3>
<pre class="programlisting">  "page"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>The index of the current page.</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--scrollable"></a><h3>The <code class="literal">"scrollable"</code> property</h3>
<pre class="programlisting">  "scrollable"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>If TRUE, scroll arrows are added if there are too many tabs to fit.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--show-border"></a><h3>The <code class="literal">"show-border"</code> property</h3>
<pre class="programlisting">  "show-border"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether the border should be shown or not.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--show-tabs"></a><h3>The <code class="literal">"show-tabs"</code> property</h3>
<pre class="programlisting">  "show-tabs"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether tabs should be shown or not.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--tab-border"></a><h3>The <code class="literal">"tab-border"</code> property</h3>
<pre class="programlisting">  "tab-border"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Write</pre>
<p>Width of the border around the tab labels.</p>
<p>Default value: 2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--tab-hborder"></a><h3>The <code class="literal">"tab-hborder"</code> property</h3>
<pre class="programlisting">  "tab-hborder"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>Width of the horizontal border of tab labels.</p>
<p>Default value: 2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--tab-pos"></a><h3>The <code class="literal">"tab-pos"</code> property</h3>
<pre class="programlisting">  "tab-pos"                  <a class="link" href="gtk-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType">GtkPositionType</a>       : Read / Write</pre>
<p>Which side of the notebook holds the tabs.</p>
<p>Default value: GTK_POS_TOP</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--tab-vborder"></a><h3>The <code class="literal">"tab-vborder"</code> property</h3>
<pre class="programlisting">  "tab-vborder"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>Width of the vertical border of tab labels.</p>
<p>Default value: 2</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.child-property-details"></a><h2>Child Property Details</h2>
<div class="refsect2" lang="en">
<a name="GtkNotebook--c-detachable"></a><h3>The <code class="literal">"detachable"</code> child property</h3>
<pre class="programlisting">  "detachable"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether the tab is detachable.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--c-menu-label"></a><h3>The <code class="literal">"menu-label"</code> child property</h3>
<pre class="programlisting">  "menu-label"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>The string displayed in the child's menu entry.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--c-position"></a><h3>The <code class="literal">"position"</code> child property</h3>
<pre class="programlisting">  "position"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>The index of the child in the parent.</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--c-reorderable"></a><h3>The <code class="literal">"reorderable"</code> child property</h3>
<pre class="programlisting">  "reorderable"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether the tab is reorderable by user action or not.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--c-tab-expand"></a><h3>The <code class="literal">"tab-expand"</code> child property</h3>
<pre class="programlisting">  "tab-expand"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether to expand the child's tab or not.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--c-tab-fill"></a><h3>The <code class="literal">"tab-fill"</code> child property</h3>
<pre class="programlisting">  "tab-fill"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether the child's tab should fill the allocated area or not.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--c-tab-label"></a><h3>The <code class="literal">"tab-label"</code> child property</h3>
<pre class="programlisting">  "tab-label"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>The string displayed on the child's tab label.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--c-tab-pack"></a><h3>The <code class="literal">"tab-pack"</code> child property</h3>
<pre class="programlisting">  "tab-pack"                 <a class="link" href="gtk-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType">GtkPackType</a>           : Read / Write</pre>
<p>A GtkPackType indicating whether the child is packed with reference to the start or end of the parent.</p>
<p>Default value: GTK_PACK_START</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="GtkNotebook--s-arrow-spacing"></a><h3>The <code class="literal">"arrow-spacing"</code> style property</h3>
<pre class="programlisting">  "arrow-spacing"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>
The "arrow-spacing" property defines the spacing between the scroll
arrows and the tabs.</p>
<p>
</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--s-has-backward-stepper"></a><h3>The <code class="literal">"has-backward-stepper"</code> style property</h3>
<pre class="programlisting">  "has-backward-stepper"     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>
The "has-backward-stepper" property determines whether
the standard backward arrow button is displayed.</p>
<p>
</p>
<p>Default value: TRUE</p>
<p>Since 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--s-has-forward-stepper"></a><h3>The <code class="literal">"has-forward-stepper"</code> style property</h3>
<pre class="programlisting">  "has-forward-stepper"      <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>
The "has-forward-stepper" property determines whether 
the standard forward arrow button is displayed.</p>
<p>
</p>
<p>Default value: TRUE</p>
<p>Since 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--s-has-secondary-backward-stepper"></a><h3>The <code class="literal">"has-secondary-backward-stepper"</code> style property</h3>
<pre class="programlisting">  "has-secondary-backward-stepper" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>
The "has-secondary-backward-stepper" property determines whether 
a second backward arrow button is displayed on the opposite end 
of the tab area.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--s-has-secondary-forward-stepper"></a><h3>The <code class="literal">"has-secondary-forward-stepper"</code> style property</h3>
<pre class="programlisting">  "has-secondary-forward-stepper" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>
The "has-secondary-forward-stepper" property determines whether 
a second forward arrow button is displayed on the opposite end 
of the tab area.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--s-tab-curvature"></a><h3>The <code class="literal">"tab-curvature"</code> style property</h3>
<pre class="programlisting">  "tab-curvature"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>
The "tab-curvature" property defines size of tab curvature.</p>
<p>
</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook--s-tab-overlap"></a><h3>The <code class="literal">"tab-overlap"</code> style property</h3>
<pre class="programlisting">  "tab-overlap"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>
The "tab-overlap" property defines size of tab overlap
area.</p>
<p>
</p>
<p>Default value: 2</p>
<p>Since 2.10</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="GtkNotebook-change-current-page"></a><h3>The <code class="literal">"change-current-page"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>         arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook-create-window"></a><h3>The <code class="literal">"create-window"</code> signal</h3>
<pre class="programlisting"><a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a>*        user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                        <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>   *page,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>         x,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>         y,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run Last</pre>
<p>
The ::create-window signal is emitted when a detachable
tab is dropped on the root window.
</p>
<p>
A handler for this signal can create a window containing 
a notebook where the tab will be attached. It is also 
responsible for moving/resizing the window and adding the 
necessary properties to the notebook (e.g. the 
<a class="link" href="GtkNotebook.html#GtkNotebook--group-id" title='The "group-id" property'><span class="type">"group-id"</span></a> ).
</p>
<p>
The default handler uses the global window creation hook,
if one has been set with <a class="link" href="GtkNotebook.html#gtk-notebook-set-window-creation-hook" title="gtk_notebook_set_window_creation_hook ()"><code class="function">gtk_notebook_set_window_creation_hook()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> the <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> emitting the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
<td> the tab of <em class="parameter"><code>notebook</code></em> that is being detached
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td> the X coordinate where the drop happens
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td> the Y coordinate where the drop happens
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> that <em class="parameter"><code>page</code></em> should be added to, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>.

</td>
</tr>
</tbody>
</table></div>
<p>Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook-focus-tab"></a><h3>The <code class="literal">"focus-tab"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a>   *notebook,
                                                        GtkNotebookTab arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>       user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook-move-focus-out"></a><h3>The <code class="literal">"move-focus-out"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a>     *notebook,
                                                        <a class="link" href="gtk-Standard-Enumerations.html#GtkDirectionType" title="enum GtkDirectionType">GtkDirectionType</a> arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>         user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook-page-added"></a><h3>The <code class="literal">"page-added"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                        <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>   *child,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>        page_num,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run Last</pre>
<p>
the ::page-added signal is emitted in the notebook
right after a page is added to the notebook.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> the <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the child <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> affected
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page_num</code></em> :</span></p></td>
<td> the new page number for <em class="parameter"><code>child</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook-page-removed"></a><h3>The <code class="literal">"page-removed"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                        <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>   *child,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>        page_num,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run Last</pre>
<p>
the ::page-removed signal is emitted in the notebook
right after a page is removed from the notebook.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> the <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the child <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> affected
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page_num</code></em> :</span></p></td>
<td> the <em class="parameter"><code>child</code></em> page number
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook-page-reordered"></a><h3>The <code class="literal">"page-reordered"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                        <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>   *child,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>        page_num,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run Last</pre>
<p>
the ::page-reordered signal is emitted in the notebook
right after a page has been reordered.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td> the <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> the child <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> affected
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page_num</code></em> :</span></p></td>
<td> the new page number for <em class="parameter"><code>child</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook-reorder-tab"></a><h3>The <code class="literal">"reorder-tab"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a>     *notebook,
                                                        <a class="link" href="gtk-Standard-Enumerations.html#GtkDirectionType" title="enum GtkDirectionType">GtkDirectionType</a> arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>         arg2,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>         user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Param3</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook-select-page"></a><h3>The <code class="literal">"select-page"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a> *notebook,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>     arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>     user_data)      : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkNotebook-switch-page"></a><h3>The <code class="literal">"switch-page"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a>     *notebook,
                                                        <a class="link" href="GtkNotebook.html#GtkNotebookPage" title="GtkNotebookPage">GtkNotebookPage</a> *page,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>            page_num,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>         user_data)      : Run Last</pre>
<p>
Emitted when the user or a function changes the current page.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>notebook</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
<td>the new current page
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page_num</code></em> :</span></p></td>
<td>the index of the page
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkNotebook.see-also"></a><h2>See Also</h2>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a></span></p></td>
<td><p>For functions that apply to every <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a></p></td>
</tr></tbody>
</table></div>
<p>
</p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.11</div>
</body>
</html>
